import routeData from './front-end-data'
import type { RouteRecordRaw } from 'vue-router'
import { dynamicRoutes } from '/@/router/route'
/**
 * 前端控制路由, 就在这里返回路由回去就好了
 * @returns 路由列表
 */
export function initFrontEndControlRoutes(): RouteRecordRaw[] {
  dynamicRoutes[0].children = routeData
  return dynamicRoutes
}
